//
//  BNMineNormalCell.m
//  BNCodeGuide
//
//  Created by kevin007 on 2021/5/20.
//  Copyright © 2021 kevin007. All rights reserved.
//

#import "BNMineNormalCell.h"
#import "Masonry.h"

@implementation BNMineNormalCell
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setupUI];
    }
    
    return self;
}

#pragma mark - ----------------SetupUI----------------
- (void)setupUI {
    [self.contentView addSubview:self.titleLabel];
    [self addLayouts];
}

#pragma mark - ----------------AddLayouts----------------
- (void)addLayouts {
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_offset(0);
    }];
}

#pragma mark - ----------------Getter & Setter----------------
- (UILabel *)titleLabel {
    if (!_titleLabel) {
        _titleLabel = [UILabel new];
        _titleLabel.font = [UIFont lx_PingFangSSemibold:28];
        _titleLabel.textColor = [UIColor whiteColor];
    }
    
    return _titleLabel;
}
@end

